package com.hr.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hr
 * @since 2021-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Job对象", description="")
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位代码 主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "单位ID")
    private Integer unitId;

    @ApiModelProperty(value = "岗位名称")
    private String jobName;

    @ApiModelProperty(value = "招考人数")
    private Integer capacity;

    @ApiModelProperty(value = "最小年龄 不限-- -1")
    private Integer minAge;

    @ApiModelProperty(value = "最大年龄 不限-- -1")
    private Integer maxAge;

    @ApiModelProperty(value = "性别要求 不限-- -1")
    private Integer sex;

    @ApiModelProperty(value = "民族要求")
    private String nation;

    @ApiModelProperty(value = "政治面貌要求 0--党员 1--共青团员 2--群众")
    private Integer political;

    @ApiModelProperty(value = "学历要求 0--小学 1--初中 2--高中 3--中专 4--本科 5--大专 6--硕士研究生 7--博士研究生")
    private Integer education;

    @ApiModelProperty(value = "专业要求")
    private String major;

    @ApiModelProperty(value = "试卷类型")
    private String testType;

    @ApiModelProperty(value = "考试名称")
    private String testName;

    @ApiModelProperty(value = "考试地点")
    private String testLocation;

    @ApiModelProperty(value = "开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "考试费用")
    private BigDecimal price;

    @ApiModelProperty(value = "发布状态 0--未发布  1--发布")
    private Integer status;

    @ApiModelProperty(value = "剩余容量")
    private Integer surplus;
}
